package cn.bdqn.domain;

import java.io.Serializable;

public class Bunk implements Serializable {
    private Integer id;

    private String bunkName;

    private Integer roomId;

    private String personName;

    private String personPhone;

    private Integer bunkState;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBunkName() {
        return bunkName;
    }

    public void setBunkName(String bunkName) {
        this.bunkName = bunkName == null ? null : bunkName.trim();
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName == null ? null : personName.trim();
    }

    public String getPersonPhone() {
        return personPhone;
    }

    public void setPersonPhone(String personPhone) {
        this.personPhone = personPhone;
    }

    public Integer getBunkState() {
        return bunkState;
    }

    public void setBunkState(Integer bunkState) {
        this.bunkState = bunkState;
    }

    @Override
    public String toString() {
        return "Bunk{" +
                "id=" + id +
                ", bunkName='" + bunkName + '\'' +
                ", roomId=" + roomId +
                ", personName='" + personName + '\'' +
                ", personPhone='" + personPhone + '\'' +
                ", bunkState=" + bunkState +
                '}';
    }
}